/*
 * Boeing737.java
 * 
 * Created on 2008-04-18, 00:58:39
 */

package planesimulator.plane;

import com.jme.math.Vector3f;

/**
 * Class which represents Boeing 737
 *
 * @author Mateusz 'm4linka' Malinowski (m4linka@gmail.com)
 */
public class Boeing737 extends AbstractPlane {

  /** Temporary vector for rotation */
  private transient Vector3f temp_val = new Vector3f();
  
  
  /**
   * Constructor.
   * 
   * @param name
   */
  public Boeing737(String name) {
    super(name,null);
  }
  
  
  /**
   * {@inheritDoc}
   */
  @Override
  public void update(float time) {
    // it is joke :)
    this.localTranslation.addLocal(this.localRotation
        .getRotationColumn(2, temp_val).multLocal(100 * time));
  }
  
}
